
AC/BASIC Compiler Listing    3/30/20  6:16:43 PM                    Page 1

  Source File: Guess.1.5  


       Program Unit: MAIN

00001  ' Guess 1-5
00002  ' This program demonstrates the ELSE clause.
00003  
00004  CLS
00005  
00006  PRINT "I'm thinking of a number between 1 and 5."
00007  PRINT "Can you guess what it is?"
00008  INPUT "Enter a number between 1 and 5:  ", guess%
00009  PRINT
00010  IF guess% = 3 THEN PRINT "That's right!!" ELSE PRINT "Sorry!"
00011  PRINT "Thanks for playing!"

AC/BASIC Compiler Listing    3/30/20  6:16:43 PM                    Page 2

  Source File: Guess.1.5  


      Symbol and label table for: MAIN

 SYMBOL                                       TYPE     STORAGE    ADDRESS

 GUESS%                                       INTEGER     M1      0000



*****  0 error(s).
